From: Giuseppe Scrivano Date: Thu, 30 Oct 2014 10:05:47 +0000 (+0100) Subject: diff: Use gs_unref_object not gs_free on a GFile X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~1065 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=0a7c1851d9c47c50aa5cdc7f19e368a0261032d7;p=ostree.git diff: Use gs_unref_object not gs_free on a GFile Signed-off-by: Giuseppe Scrivano --- diff --git a/src/ostree/ot-builtin-diff.c b/src/ostree/ot-builtin-diff.c index 00de8cbb..65d55be2 100644 --- a/src/ostree/ot-builtin-diff.c +++ b/src/ostree/ot-builtin-diff.c @@ -43,7 +43,7 @@ parse_file_or_commit (OstreeRepo *repo, GError **error) { gboolean ret = FALSE; - gs_free GFile *ret_file = NULL; + gs_unref_object GFile *ret_file = NULL; if (g_str_has_prefix (arg, "/") || g_str_has_prefix (arg, "./")